<%@ page import="br.com.qualityempresa.seguranca.Usuario"%>
<!DOCTYPE html>
<html>
	<head>
	<meta name="layout" content="main">
	<title><g:message code="login.title.login"/></title>
	</head>
	<body screen_capture_injected="true">

		<mensagem:renderizar mensagem="${flash}" />

		<g:form method="post" class="form-horizontal">
			<fieldset>
				<legend><g:message code="login.legend.fildSet"/></legend>
				<div class="control-group">
					<label class="control-label" for="email"><g:message code="login.input.email"/></label>
					<div class="controls input-prepend" style="margin-left:20px">
						<span class="add-on"><i class="icon-user"></i></span>
						<input type="email" name="email" id="email" autofocus="autofocus" required="required">
					</div>
				</div>
				<div class="control-group">
					<label class="control-label" for="senha"><g:message code="login.input.senha"/></label>
					<div class="controls input-prepend" style="margin-left:20px">
						<span class="add-on"><i class="icon-lock"></i></span>
						<input type="password" name="senha" id="senha">
					</div>
				</div>
				<div class="control-group">
					<div class="controls">
						<g:actionSubmit action="authenticate" name="entrar" class="btn" value="${message(code: 'usuario.entrar.label')}" />
						<g:actionSubmit action="esqueciSenha" name="esqueci" class="btn" value="${message(code: 'usuario.esqueci.senha.label')}" />
					</div>
				</div>
			</fieldset>
		</g:form>
	</body>
</html>
